package com.mall.model.entity.Oms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 订单主表
 * @author : cck
 * @date : 2025-10-10
 */
 
@Schema(name = "订单主表",description = "")
@TableName("oms_order")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OmsOrder implements Serializable{
    private static final long serialVersionUID = 1L;
    /** 主键id */
    @Schema(name = "主键id",description = "")
    @TableId
    private Long id;
    /** 订单号 */
    @Schema(name = "订单号",description = "")
    private String orderNo;
    /** 用户id */
    @Schema(name = "用户id",description = "")
    private Long userId;
    /** 订单状态 */
    @Schema(name = "订单状态",description = "")
    private Integer status;
    /** 发货状态 */
    @Schema(name = "发货状态",description = "")
    private Integer shippingStatus;
    /** 创建时间 */
    @Schema(name = "创建时间",description = "")
    private String createdTime;
    /** 更新时间 */
    @Schema(name = "更新时间",description = "")
    private String updateTime;
}